home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-09-17 | 2.0 KB | 64 lines | [TEXT/MPS ] |
- //========================================================================================
- //
- // File: Binding.k
- // Release Version: $ ODF 2 $
- //
- // Author: Henri Lamiraux
- //
- // Copyright: (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
- //
- //========================================================================================
-
-
- #ifndef BINDING_K
- #define BINDING_K
-
- // Editor User String
- #define kODFBitmapEditorUserString "ODFBitmap R2"
-
- //
- // SOM identifier for the ODFBitmap part
- // see also SOMPart.idl: module ODFExamples, interface ODFBitmap
- //
- #define kODFBitmapEditor "ODFExamples::ODFBitmap"
-
- //
- // ODFBitmap reads several kinds of data from OpenDoc: ODF streams and JFIF.
- // This ISO prefix is really annoying isn't it.
- //
-
- #define kODFBitmapKind "+//ISO 9070/ANSI::113722::US::CI LABS::Apple:ODFExamples:Kind:ODFBitmap"
- #define kJpegKind "+//ISO 9070/ANSI::113722::US::CI LABS::MIME:image/jpeg"
- #define kJpegCyberItemKind "+//ISO 9070/ANSI::113722::US::CI LABS::Apple:Cyberdog:Kind:CyberItem:MIME:image/jpeg"
-
- //
- // Translation OSTypes
- // These do correspond to traditional MacOS file types; they are used
- // when importing/translating from MacOS files, clipboard, drag&drop, etc.
- // See nmap kODEditorPlatformKind.
- //
- // Note: the JPEG standard does not actually specify a file kind; everybody
- // uses the separate JFIF (JPEG File Interchange Format) specification.
- // Partly as a result of this confusion some identifiers use "jpeg" variants
- // (like MIME: image/jpeg) and some use "jfif" variants (like OSTypes: 'JFIF').
- //
-
- #define kPICTOSType 'PICT'
- #define kJPEGOSType 'JPEG'
- #define kJFIFOSType 'JFIF'
-
- //
- // nmap constants
- // Used only in the .r file
- //
-
- #define kKindCategoryMapID 1100
- #define kEditorKindMapID kKindCategoryMapID + 1
- #define kEditorUserStringMapID kEditorKindMapID + 1
- #define kKindUserStringMapID kEditorUserStringMapID + 1
- #define kOldMacOSTypeMapID kKindUserStringMapID + 1
- #define kEditorPlatformKinds kOldMacOSTypeMapID + 1
-
- #endif
-
-